﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace CarbonExchange.Bll
{
    public class Commitment : ItemBase
    {
        internal Commitment() { }

        public Commitment(int userId, int pledgeId) 
        { 
            this.UserId = userId;
            this.PledgeId = pledgeId;
        }

        public int Id { get; internal set; }
        public int UserId { get; internal set; }
        public int PledgeId { get; internal set; }
        public DateTime? CommitmentDate { get; internal set; }
        public bool Completed { get; set; }


        public string PledgeName { get; internal set; }
        public string PledgeText { get; internal set; }
        public int PledgeCategoryId { get; internal set; }
        public string PledgeCategoryName { get; internal set; }
        public int SectionId { get; internal set; }
        public string SectionName { get; internal set; }
        public decimal AveSavingPerMonth { get; set; }
    }
}
